package com.efounder.bean;

import java.util.List;

/**
 * @author : zzj
 * @e-mail : zhangzhijun@pansoft.com
 * @date : 2018/11/6 16:18
 * @desc : 夺宝选择支付的方式列表
 * @version: 1.0
 */
public class MallTreasurePayInfoListBean {

    /**
     * msg : 根据用户地址获取付款所需信息成功
     * code : 0
     * data : {"paymentInfo":{"paymentStableCoin":"10.00","paymentOtherCoin":"0.00","tokens":[{"tokenAddress":"","balance":"80.00","tokenID":"","tokenDecimals":18,"tokenFullName":"Pansoft Stable Coin","tokenName":"psc","tokenIcon":""}]}}
     */

    private String msg;
    private int code;
    private DataBean data;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * paymentInfo : {"paymentStableCoin":"10.00","paymentOtherCoin":"0.00","tokens":[{"tokenAddress":"",
         * "balance":"80.00","tokenID":"","tokenDecimals":18,"tokenFullName":"Pansoft Stable Coin","tokenName":"psc","tokenIcon":""}]}
         */

        private PaymentInfoBean paymentInfo;

        public PaymentInfoBean getPaymentInfo() {
            return paymentInfo;
        }

        public void setPaymentInfo(PaymentInfoBean paymentInfo) {
            this.paymentInfo = paymentInfo;
        }

        public static class PaymentInfoBean {
            /**
             * paymentStableCoin : 10.00
             * paymentOtherCoin : 0.00
             * tokens : [{"tokenAddress":"","balance":"80.00","tokenID":"","tokenDecimals":18,"tokenFullName":"Pansoft Stable Coin","tokenName":"psc","tokenIcon":""}]
             */

            private String paymentStableCoin;
            private String paymentOtherCoin;
            private List<TokensBean> tokens;

            public String getPaymentStableCoin() {
                return paymentStableCoin;
            }

            public void setPaymentStableCoin(String paymentStableCoin) {
                this.paymentStableCoin = paymentStableCoin;
            }

            public String getPaymentOtherCoin() {
                return paymentOtherCoin;
            }

            public void setPaymentOtherCoin(String paymentOtherCoin) {
                this.paymentOtherCoin = paymentOtherCoin;
            }

            public List<TokensBean> getTokens() {
                return tokens;
            }

            public void setTokens(List<TokensBean> tokens) {
                this.tokens = tokens;
            }

            public static class TokensBean {
                /**
                 * tokenAddress :
                 * balance : 80.00
                 * tokenID :
                 * tokenDecimals : 18
                 * tokenFullName : Pansoft Stable Coin
                 * tokenName : psc
                 * tokenIcon :
                 */

                private String tokenAddress;
                private String balance;
                private String tokenID;
                private double tokenDecimals;
                private String tokenFullName;
                private String tokenName;
                private String tokenIcon;

                public String getTokenAddress() {
                    return tokenAddress;
                }

                public void setTokenAddress(String tokenAddress) {
                    this.tokenAddress = tokenAddress;
                }

                public String getBalance() {
                    return balance;
                }

                public void setBalance(String balance) {
                    this.balance = balance;
                }

                public String getTokenID() {
                    return tokenID;
                }

                public void setTokenID(String tokenID) {
                    this.tokenID = tokenID;
                }

                public double getTokenDecimals() {
                    return tokenDecimals;
                }

                public void setTokenDecimals(double tokenDecimals) {
                    this.tokenDecimals = tokenDecimals;
                }

                public String getTokenFullName() {
                    return tokenFullName;
                }

                public void setTokenFullName(String tokenFullName) {
                    this.tokenFullName = tokenFullName;
                }

                public String getTokenName() {
                    return tokenName;
                }

                public void setTokenName(String tokenName) {
                    this.tokenName = tokenName;
                }

                public String getTokenIcon() {
                    return tokenIcon;
                }

                public void setTokenIcon(String tokenIcon) {
                    this.tokenIcon = tokenIcon;
                }
            }
        }
    }
}
